from django.db import models

# Create your models here.


# 模型类
class Message(models.Model):
    province = models.CharField('',max_length=256,default='',blank=True)
    name = models.CharField('',max_length=256,default='',blank=True)
    post = models.CharField('',max_length=256,default='',blank=True)
    punishment = models.CharField('',max_length=256,default='',blank=True)
    date = models.CharField('',max_length=256,default='',blank=True)

    class Meta:
        db_table = 'message'
        verbose_name_plural = '信息表'

    def __str__(self):
        return self.name
